package com.atyoung.youngmall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.atyoung.common.utils.PageUtils;
import com.atyoung.youngmall.product.entity.AttrEntity;

import java.util.List;
import java.util.Map;

/**
 * 商品属性
 *
 * @author wen_chuang
 * @email wen_chuang@gmail.com
 * @date 2020-05-06 22:10:06
 */
public interface AttrService extends IService<AttrEntity> {

    PageUtils queryPage(Map<String, Object> params);

    PageUtils queryBasePage(Map<String, Object> params,Long catId);

    PageUtils querysalePage(Map<String, Object> params, Long catId);

    PageUtils getNoRelationAttr(Map<String, Object> params, Long attrgroupId);

    public List<AttrEntity> getRelationAttr(Long attrgroupId);
}

